import type { XtxGuessInstance } from '@/types/component'
import { ref } from 'vue'

export const useGuessList = () => {
  // 猜你喜欢实例
  const guessRef = ref<XtxGuessInstance>()
  // 滚动触底
  const onScrollTolower = () => {
    guessRef.value?.guessMove()
  }

  return {
    guessRef,
    onScrollTolower,
  }
}
